[NTG-context] Re: Key distance with enumeration

2023-07-27 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 27.07.2023 um 20:56: Hi, I don't understand why the distance between the dot and the first letter of the text is not always the same (see with theorem). Add         stretch=0,         shrink=0, to your enumeration setup. Wolfgang

[NTG-context] Key distance with enumeration

2023-07-27 Thread Fabrice Couvreur
Hi, I don't understand why the distance between the dot and the first letter of the text is not always the same (see with theorem). Thanks Fabrice \setupenumerations [before={\blank}, after={\blank}, alternative=serried, distance=1cm, title=yes, titleleft=, titleright=,

Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Aditya Mahajan via ntg-context
b/mdframed/mdframed.pdf) > > > > I have searched in the wiki and found \defineenumeration: > > This is near of that what I need. However I explicitly does not need an > > enumeration (so no number or counter). Also I am not sure if I can set a > > background

Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Henning Hraban Ramm via ntg-context
s not need an enumeration (so no number or counter). Also I am not sure if I can set a background and so on. The other possibility is \defineframedtext. For example this goes much in the direction that I want: \definecolor[gbackground][s=0.98] \defineframedtext[gtk][frame=on,

[NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Gerion Entrup via ntg-context
omogeneous linear of the mdframed documentation: http://mirrors.ctan.org/macros/latex/contrib/mdframed/mdframed.pdf) I have searched in the wiki and found \defineenumeration: This is near of that what I need. However I explicitly does not need an enumeration (so no number or counter). Also I am not sur

Re: [NTG-context] item enumeration

2022-05-25 Thread Wolfgang Schuster via ntg-context
Jorge Manuel via ntg-context schrieb am 25.05.2022 um 12:22: Hi to All A have this piece of code that works in old ConText versions but with new versions (current version: 2022.04.19 19:53) don’t. \def\legalconversion#1{  \dorecurse{\numexpr\currentitemlevel-1}{%  

[NTG-context] item enumeration

2022-05-25 Thread Jorge Manuel via ntg-context
Hi to All A have this piece of code that works in old ConText versions but with new versions (current version: 2022.04.19 19:53) don’t. \def\legalconversion#1{  \dorecurse{\numexpr\currentitemlevel-1}{%  \rawcounter[itemgroup:\currentparentitemgroup][\recurselevel].}%  #1% }

Re: [NTG-context] Resetcounter in custom enumeration environment

2022-01-04 Thread Jan-Erik Hägglöf via ntg-context
Many thanks, that was very structured and helpful. /Jan-Erik > 3 jan. 2022 kl. 12:07 skrev kauśika : > > On Monday, January 3, 2022 4:34:50 PM IST kauśika wrote: >> If 'Exercises' and 'Answers to exercises' are some head structure (assuming >> unnumbered since they are so in your example): >>

Re: [NTG-context] Resetcounter in custom enumeration environment

2022-01-03 Thread kauśika via ntg-context
On Monday, January 3, 2022 4:34:50 PM IST kauśika wrote: > If 'Exercises' and 'Answers to exercises' are some head structure (assuming > unnumbered since they are so in your example): > \definehead[exercises][subject] > \definehead[answers][subject] > then you can simply do >

Re: [NTG-context] Resetcounter in custom enumeration environment

2022-01-03 Thread kauśika via ntg-context
On Monday, January 3, 2022 4:21:27 PM IST Jan-Erik Hägglöf via ntg-context wrote: > I want a simple solution to reset the counter so it achieves the following > result: > > Exercises > > 1 First exercise > > 2 Second exercise > > Answers to exercises > > 1 Answers to first exercise > > 2

[NTG-context] Resetcounter in custom enumeration environment

2022-01-03 Thread Jan-Erik Hägglöf via ntg-context
Hi! I’ve been doing this in my exams to define exercises in a structural way. \defineenumeration[uppgift] \setupenumerations[uppgift][alternative=left,width=1cm,text= ,after={\blank[2*big]}] \starttext \startuppgift Here comes the exercise \stopuppgift \stoptext I want a simple solution

Re: [NTG-context] Enumeration numbering in the left margin

2021-11-20 Thread kauśika via ntg-context
On Saturday, November 20, 2021 8:34:52 PM IST Wolfgang Schuster wrote: > Provide a complete minimal example to increase your chances for an answer. > > Wolfgang I was inspecting this just now and figured out that in one of the \defineenumeration I was inheriting another enumeration bl

Re: [NTG-context] Enumeration numbering in the left margin

2021-11-20 Thread Wolfgang Schuster via ntg-context
kauśika via ntg-context schrieb am 20.11.2021 um 14:28: On Saturday, November 20, 2021 11:31:24 AM IST kauśika wrote: Dear list, I have the following enumeration block. \defineenumeration[verse] \setupenumeration[verse] [alternative=leftmargin, text=, width=fit, distance=1em

Re: [NTG-context] Enumeration numbering in the left margin

2021-11-20 Thread kauśika via ntg-context
On Saturday, November 20, 2021 11:31:24 AM IST kauśika wrote: > Dear list, > > I have the following enumeration block. > > \defineenumeration[verse] > \setupenumeration[verse] > [alternative=leftmargin, >text=, >width=fit, >distance=1em, >wa

[NTG-context] Enumeration numbering in the left margin

2021-11-19 Thread kauśika via ntg-context
Dear list, I have the following enumeration block. \defineenumeration[verse] \setupenumeration[verse] [alternative=leftmargin, text=, width=fit, distance=1em, way=bysection] I actually want to (flush) left align the enumeration's number inside the left margin and give it a blue

Re: [NTG-context] Create an enumeration style

2021-08-27 Thread Rudolf Bahr via ntg-context
for a user to change the default to the above choice in his > > > document ? > > > > it is no problem to fix if you all can agree on what/how to fix ... > > The purpose of abbreviations is, well, to abbreviate. Even though ‘ème’ > is seen a lot, it’s wrong because

Re: [NTG-context] Create an enumeration style

2021-08-27 Thread Vincent Hennebert via ntg-context
ause it’s too long. Source (pretty official): https://www.academie-francaise.fr/abreviations-des-adjectifs-numeraux So for numbers starting from 3 the proper abbreviation is ‘e’. For 1 and 2 it’s more complicated, however, as it depends on the gender. For 1: * masculine: 1er * feminine: 1re In add

Re: [NTG-context] Create an enumeration style

2021-08-13 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 11.08.2021 um 12:57: I forgot this : how to reduce the font size for the exponents "er", "e" ? The exponents are placed with \high and you can change the style with     \setuphigh[style=...] but this affects all texts which use \high. Wolfgang

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Otared Kavian via ntg-context
> On 11 Aug 2021, at 10:19, Thomas A. Schmitz via ntg-context > wrote: > > >> On 11. Aug 2021, at 10:09, Otared Kavian via ntg-context >> wrote: >> >> Thanks for the example and the fix, but I would rather think that the « >> french » part of ordinals should be >> >> french =

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Fabrice Couvreur via ntg-context
I forgot this : how to reduce the font size for the exponents "er", "e" ? Thanks Fabrice Le mer. 11 août 2021 à 12:41, Fabrice Couvreur a écrit : > Hi Wolfgang, > Many thanks > Fabrice > > Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context < > ntg-context@ntg.nl> a écrit : > >> On

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Many thanks Fabrice Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context a écrit : > On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote: > > > > > >> On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context < > ntg-context@ntg.nl> wrote: > >> (…) > >> core-con.lua

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Hans Hagen via ntg-context
On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote: On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context wrote: (…) core-con.lua (line 1155): local ordinals = { [...] french = function(n) if n == 1 then return "er" + else +

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Thomas A. Schmitz via ntg-context
> On 11. Aug 2021, at 10:09, Otared Kavian via ntg-context > wrote: > > Thanks for the example and the fix, but I would rather think that the « > french » part of ordinals should be > > french = function(n) > if n == 1 then > return « er" >

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Otared Kavian via ntg-context
> On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context > wrote: > (…) > core-con.lua (line 1155): > > local ordinals = { > [...] > french = function(n) > if n == 1 then > return "er" > + else > + return "e" > end > end, > } Hi

Re: [NTG-context] Create an enumeration style

2021-08-09 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur schrieb am 09.08.2021 um 14:16: Hi Wolfgang, Thank you for your suggestion. I tested the code and the result is not what I expected from the second item : "2 exemple" instead of "2^{e} exemple", "3 exemple" instead of "3^{e} exemple" ... core-con.lua (line 1155): local

Re: [NTG-context] Create an enumeration style

2021-08-08 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 08.08.2021 um 17:47: Hello, Is it possible to create an enumeration style to get this : 1 ^ {er} exemple 2 ^ {e} exemple 3 ^ {e} exemple The conversion needs a fix but this is how you can do it. \defineenumeration   [test]   [text

[NTG-context] Create an enumeration style

2021-08-08 Thread Fabrice Couvreur via ntg-context
Hello, Is it possible to create an enumeration style to get this : 1 ^ {er} exemple 2 ^ {e} exemple 3 ^ {e} exemple Thanks Fabrice ___ If your question is of interest to others as well, please add an entry

[NTG-context] Alignment with an enumeration

2021-04-12 Thread Fabrice Couvreur
Hi, Is it possible that the first item is on the baseline of the definition environment title ? Thank you. Fabrice \define\ItemCommand {\hskip\zeropoint\relax\autoinsertnextspace} \setupitemgroup [itemize] [color=darkred, style=bold, distance=\spaceamount] \setupitemgroup

Re: [NTG-context] Title in enumeration not working?

2020-12-30 Thread Mikael Sundqvist
Hi, Thanks for the fix, Hans (version 2020.12.30 16:45 looks fine!) /Mikael On Mon, Dec 21, 2020 at 3:11 PM Otared Kavian wrote: > Hi Mikael, > > Indeed you are right about the fact that > > \startexample[title={Title}] > ... > \stopexample > > > is more logical and also more convenient. >

Re: [NTG-context] Title in enumeration not working?

2020-12-21 Thread Otared Kavian
Hi Mikael, Indeed you are right about the fact that > \startexample[title={Title}] > ... > \stopexample is more logical and also more convenient. Sorry for not having checked your example in mkiv, where this structure works as intended. So it might be a small buglet in LMTX. Best regards:

Re: [NTG-context] Title in enumeration not working?

2020-12-21 Thread Mikael Sundqvist
Hi Otared, Thank you for your suggestion. I would say yes and no. I want the result one gets from what you write, but I prefer the syntax \startexample[title={Title}] ... \stopexample and that has been working before. Reading in setup-en.pdf, it also looks to me as if that should work. Best,

Re: [NTG-context] Title in enumeration not working?

2020-12-21 Thread Otared Kavian
Hi Mickael, Maybe this is what you want: \defineenumeration[example] [text=Example, title=yes, titleleft=, titleright={.}, ] \starttext \startexample{Title} This is a test. \stopexample \stoptext Of course is you say text=, then you get only «

[NTG-context] Title in enumeration not working?

2020-12-21 Thread Mikael Sundqvist
Hi, Has anything changed with titles and enumerations? I expected a title "Title" with the following setup. \defineenumeration[example][ text=Example, title=yes, ] \starttext \startexample[title={Title}] This is a test. \stopexample \stoptext But it does not show up. /Mikael

Re: [NTG-context] Extra space when \setcharacterkerning is used in enumeration

2020-06-12 Thread Mikael Sundqvist
On Fri, Jun 12, 2020 at 9:35 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Mikael Sundqvist schrieb am 12.06.2020 um 20:55: > > Hi, > > > > I noticed an extra space in an enumeration when > > using \setcharacterkerning in the \headstyle param

Re: [NTG-context] Extra space when \setcharacterkerning is used in enumeration

2020-06-12 Thread Wolfgang Schuster
Mikael Sundqvist schrieb am 12.06.2020 um 20:55: Hi, I noticed an extra space in an enumeration when using \setcharacterkerning in the \headstyle parameter. The extra space appears before the first word "Sats", and in my case it is unwanted (In the example I want the word Sat

[NTG-context] Extra space when \setcharacterkerning is used in enumeration

2020-06-12 Thread Mikael Sundqvist
Hi, I noticed an extra space in an enumeration when using \setcharacterkerning in the \headstyle parameter. The extra space appears before the first word "Sats", and in my case it is unwanted (In the example I want the word Sats to align with a), b), ...). The space was not there

Re: [NTG-context] Fwd: Adding optional enumeration text to framed enumeration header

2020-04-19 Thread Aditya Mahajan
On Sun, 19 Apr 2020, Jairo A. del Rio wrote: I've seen the following solution in Stack Exchange to add referenceable enumeration labels to a framed enumeration environment: https://tex.stackexchange.com/questions/438588/context-and-metafun-framed-enumeration-with-counter-as-part-of-overlay

[NTG-context] Fwd: Adding optional enumeration text to framed enumeration header

2020-04-18 Thread Jairo A. del Rio
Sorry, I resend my question because I forgot the subject -- Forwarded message - De: Jairo A. del Rio Date: sáb., 18 de abr. de 2020 a la(s) 23:53 Subject: To: mailing list for ConTeXt users I've seen the following solution in Stack Exchange to add referenceable enumeration

Re: [NTG-context] Indentation problem inside enumeration

2020-01-02 Thread Mikael P. Sundqvist
On Tue, Dec 17, 2019 at 8:39 AM Mikael P. Sundqvist wrote: > Hi! > > I've met a strange problem with indentation in consecutive enumerations. > It seems to me that if > > 1) the first enumeration uses indentnext=no > AND > 2) the next enumeration uses a backgr

[NTG-context] Indentation problem inside enumeration

2019-12-16 Thread Mikael P. Sundqvist
Hi! I've met a strange problem with indentation in consecutive enumerations. It seems to me that if 1) the first enumeration uses indentnext=no AND 2) the next enumeration uses a background then the second(?) paragraph of the second enumeration is not indented. Here is a small example (see

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-17 Thread Otared Kavian
Hi Aditya,Thanks for your hint: I didn't know that subtelty about Lucida OT (and I don't know how to set it up when using Lucida OT).That being said, actually what I would like to use is the kind of script font which is the attached document (those script fonts were widely used in higher

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-17 Thread Aditya Mahajan
On Wed, 16 Oct 2019, Otared Kavian wrote: I use Lucida OT fonts for all my documents, but since I prefer the script fonts from another font I have the following setups for my font: OT: Do you use this to get a less cursive script font? Lucida (like many opentype math fonts) comes with two

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-16 Thread Otared Kavian
Hi Fabrice, The Lucida OT family is indeed not free (it costs 110 US dollars from TUG), but tha Asana Math is included in the distribution of ConTeXt, LuaMetaTeX and, I think, TeXLive. Best regards: Otared > On 16 Oct 2019, at 23:38, Fabrice Couvreur > wrote: > > Hi Kavian, > It seems to

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-16 Thread Fabrice Couvreur
Hi Kavian, It seems to me that these fonts are not free. Thank you for your help. Fabrice Le mer. 16 oct. 2019 à 05:28, Otared Kavian a écrit : > Hi Fabrice, > > I use Lucida OT fonts for all my documents, but since I prefer the script > fonts from another font I have the following setups for

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-15 Thread Otared Kavian
Hi Fabrice, I use Lucida OT fonts for all my documents, but since I prefer the script fonts from another font I have the following setups for my font: %% %% Some Font Definitions \definefallbackfamily[myfont][math][Asana Math]

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-15 Thread Fabrice Couvreur
Hello, Thanks to you two. "Another solution is to define your own mixture of math fonts and text fonts." I thought you should not mix several fonts in one text. I know you're a teacher, what are you doing to write your documents ? Fabrice Le mar. 15 oct. 2019 à 19:11, Otared Kavian a écrit : >

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-15 Thread Otared Kavian
Hi Fabrice, Wolfgang gave the right answer, but I wanted to point out that it is better not to use \setupbodyfont in the middle of your document, as you did in the excerpt below: in this case it is better to use \switchtobodyfont[xits] or even better define the character you want before

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-15 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 15.10.2019 um 18:39: Hello, Why items are numbered with a square instead of a bullet ? Because the bullets for the default sans serif font are rectangular. \starttext \symbol[bullet] {\ss\symbol[bullet]} \blank \setupsymbols[stylealternative=math]

[NTG-context] Unexpected symbol with Enumeration

2019-10-15 Thread Fabrice Couvreur
Hello, Why items are numbered with a square instead of a bullet ? Thanks. Fabrice \definecolor[MyColorC][s=0.8784] \definecolor[MyColorD][m=0.27,y=1] \defineframed [FrameTitle] [frame=off, foregroundstyle=\bfx\ss, foregroundcolor=white, background=color,

Re: [NTG-context] Filling the diamond in enumeration

2019-04-20 Thread Otared Kavian
Hi Fabrice, You can define your own symbol, as in the following: \starttext \definesymbol[mysymbol][{$\red\blacklozenge$}] \definesymbol[redtriangle][{$\red\blacktriangleright$}] \startitemize[mysymbol] \item foo \item bar \item baz \stopitemize \startitemize[redtriangle]

[NTG-context] Filling the diamond in enumeration

2019-04-20 Thread Fabrice Couvreur
Hi, Is it possible to fill the diamond ? Thank you. Fabrice \starttext \startitemize[4][color=red] \item One \item Two \stopitemize \stoptext ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Fabrice Couvreur
Hi Wolfgang, Thank you very much ! Fabrice 2018-08-01 21:21 GMT+02:00 Wolfgang Schuster < wolfgang.schuster.li...@gmail.com>: > Hi Fabrice, > > I found the following example in my mail archive. > > %% > \define\ItemCommand > {\hskip\zeropoint\relax\autoinsertnextspace} > > \setupitemgroup

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Wolfgang Schuster
Hi Fabrice, I found the following example in my mail archive. %% \define\ItemCommand {\hskip\zeropoint\relax\autoinsertnextspace} \setupitemgroup [itemize] [color=darkred, distance=0pt] \setupitemgroup [itemize:1] [option={n,packed,fit,intext}, command=\ItemCommand]

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Pablo Rodriguez
On 07/31/2018 11:58 PM, Fabrice Couvreur wrote: > Hi Pablo, > That's not what I'm looking for but rather this: > > *1.a.* blablablabla > blablablabla > *b.* blablablabla > blablablabla > *c.* blablablabla > blablablabla > > Which explains the use of the key intext Hi Fabrice, this is the best

Re: [NTG-context] Problem with an enumeration

2018-07-31 Thread Fabrice Couvreur
Hi Pablo, That's not what I'm looking for but rather this: *1.a.* blablablabla blablablabla *b.* blablablabla blablablabla *c.* blablablabla blablablabla Which explains the use of the key intext Fabrice 2018-07-31 13:31 GMT+02:00 Pablo Rodriguez : > On 07/31/2018 12:18 PM, Fabrice Couvreur

Re: [NTG-context] Problem with an enumeration

2018-07-31 Thread Pablo Rodriguez
On 07/31/2018 12:18 PM, Fabrice Couvreur wrote: > Hello, > Wolfgang helped me to get this: > > 1.a. > b. > c. > 2.a > b. > c. > > I have unfortunately lost the code he had proposed to me. I get this: > > 1.a. > 1b > 1 C > 2.a > 2.b > 2.c Hi Fabrice, I don’t get your output. I had to remove

[NTG-context] Problem with an enumeration

2018-07-31 Thread Fabrice Couvreur
Hello, Wolfgang helped me to get this: 1.a. b. c. 2.a b. c. I have unfortunately lost the code he had proposed to me. I get this: 1.a. 1b 1 C 2.a 2.b 2.c Thanks Fabrice \setupitemgroup [itemize][1] [color=darkred, distance=\spaceamount, option={packed,fit,intext,n}]

Re: [NTG-context] referencing the customized enumeration with framed title

2018-01-12 Thread Hans Hagen
On 1/12/2018 5:22 PM, Jeong Dal wrote: Dear Hans, Thank you for the quick answer. Repalcing “p:=textext.rt();” and commenting out “headcommand=gobbleone…” with your suggestion, the references are working. However, there is a side effect. “Theorem 1.1” appears twice, one in the frame which I

Re: [NTG-context] referencing the customized enumeration with framed title

2018-01-12 Thread Jeong Dal
Dear Hans, Thank you for the quick answer. Repalcing “p:=textext.rt();” and commenting out “headcommand=gobbleone…” with your suggestion, the references are working. However, there is a side effect. “Theorem 1.1” appears twice, one in the frame which I expected and one at the beginning of the

Re: [NTG-context] referencing the customized enumeration with framed title

2018-01-12 Thread Hans Hagen
On 1/12/2018 3:54 AM, Jeong Dal wrote: Hi, Some time ago, I am able to use following code(the framed title for Theorems and etc.) Thank Wolfgang and Otared again. Since it uses the customized style of numbering, there is a problem to reference them. As in the following code,

Re: [NTG-context] referencing the customized enumeration with framed title

2018-01-12 Thread Hans Hagen
On 1/12/2018 3:54 AM, Jeong Dal wrote: Hi, Some time ago, I am able to use following code(the framed title for Theorems and etc.) Thank Wolfgang and Otared again. Since it uses the customized style of numbering, there is a problem to reference them. As in the following code,

[NTG-context] referencing the customized enumeration with framed title

2018-01-11 Thread Jeong Dal
Hi, Some time ago, I am able to use following code(the framed title for Theorems and etc.) Thank Wolfgang and Otared again. Since it uses the customized style of numbering, there is a problem to reference them. As in the following code, \in{Definition}[] shows no number and \in{Theorem}[]

Re: [NTG-context] Multicolumn enumeration in a column

2018-01-02 Thread Fabrice Couvreur
\startitemize[packed, columns, three] >> \startitem >> one >> \stopitem >> \startitem >> two >> \stopitem >> \stopitemize >> \blank[medium] >> \startitemize[packed, horizontal, three] >>

Re: [NTG-context] Multicolumn enumeration in a column

2018-01-02 Thread Jan Willem Flamma
t; \stopitem > \stopitemize > \blank[medium] > \startitemize[packed, horizontal, three] > \startitem > three > \stopitem > \startitem > four > \stopitem > \stopitemize > > \stopMycolumns > \stoptex

Re: [NTG-context] Fwd: Re: Multicolumn enumeration in a column

2017-12-31 Thread Fabrice Couvreur
; two > \stopitem > \stopitemize > \blank[medium] > \startitemize[packed, horizontal, three] > \startitem > three > \stopitem > \startitem > four > \stopitem > \stopitemize > > \stopMycolumns >

[NTG-context] Fwd: Re: Multicolumn enumeration in a column

2017-12-30 Thread Lars
d, horizontal, three] \startitem three \stopitem \startitem four \stopitem \stopitemize \stopMycolumns \stoptext Cheers Weitergeleitete Nachricht Betreff:Re: [NTG-context] Multicolumn enumeration in a column Datum: Sat, 30 Dec 201

Re: [NTG-context] Multicolumn enumeration in a column

2017-12-30 Thread Lars
\stopitemize \column \startitemize[packed] \startitem one \stopitem \startitem two \stopitem \stopitemize \stopcolumns \stoptext Cheers Am 30/12/2017 um 10:18 schrieb Fabrice Couvreur: Hello, How to modify the code for an enumeration on three

[NTG-context] Multicolumn enumeration in a column

2017-12-30 Thread Fabrice Couvreur
Hello, How to modify the code for an enumeration on three columns in a column ? Thank you Fabrice \definemixedcolumns [Mycolumns] [ n=2, separator=rule, rulecolor=, balance=, grid=strut, ] \setupalign[verytolerant,stretch,hanging] \setuppapersize[A4,landscape

[NTG-context] Strange behavior with enumeration

2017-08-17 Thread Fabrice Couvreur
Hi, Level two items are not on the same baseline. Thank you Fabrice \starttext \startitemize[n] \item 15\,\% d'un stock de 12\,000 jouets sont des jouets \quotation{1\high{\tfxx er} âge}. Le nombre de jouets \quotation{1\high{\tfxx er} âge} est : \startitemize[columns,a,three] \item

[NTG-context] Bug with Enumeration and \dfrac{}{} with Standalone ?

2017-05-14 Thread Fabrice Couvreur
Hello, I am posting again on the same subject but with more precision. I use Standalone Context in its latest version. We can observe that the alignment is not correct with \dfrac{}{} but it is with {}\ over{}. But if I use Texlive 2016 there are no problems. Thank you Fabrice

Re: [NTG-context] Influence enumeration spacing

2016-11-05 Thread Wolfgang Schuster
Jan Willem Flamma <mailto:jwfregis...@icloud.com> 25. Oktober 2016 um 15:34 Dear list members, In the MWE below the amount of vertical space between the enumeration header and the question text seems to fully controlled by the global \setupwhitespace[big] setting. I would like to

[NTG-context] Influence enumeration spacing

2016-10-25 Thread Jan Willem Flamma
Dear list members, In the MWE below the amount of vertical space between the enumeration header and the question text seems to fully controlled by the global \setupwhitespace[big] setting. I would like to reduce the distance beteen the enumeration header and the question text but inbetween

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-06 Thread Florian Leupold
> On 06.09.16, at 02:55, Aditya Mahajan wrote: > > On Mon, 5 Sep 2016, Florian Leupold wrote: > >> One problem, however, persists: The theorem environment gets misplaced when >> a figure is placed to its left: >> >> \setupexternalfigures[location=default] >>

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-05 Thread Florian Leupold
tle=yes, > alternative=hanging, > % hang=2, > width=fit, > right={~}, > way=bychapter, > % way=bysection, > prefix=yes, > % prefixsegments={chapter:section}, > prefixsegments={chapter}, > ] > > Another more versati

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-04 Thread Wolfgang Schuster
Florian Leupold 4. September 2016 um 19:37 Issues with the documentation: - In “ConTeXt Commands”, it says on page 224 that \setupenumeration inherits from \setupcounter; but in “ConTEXt reference manual", it says on page 246 that \setupenumerations inherits from

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-04 Thread Otared Kavian
, % way=bysection, prefix=yes, % prefixsegments={chapter:section}, prefixsegments={chapter}, ] Another more versatile solution is to define an enumeration like the \proclaim definition of plain TeX, as follows: \defineenumeration[proclaim] [text=, style

[NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-04 Thread Florian Leupold
Dear list, I am trying to use enumerations with MKIV I am a bit at a loss when it comes to the documentation (see below for a few issues). Working on a concrete example, I have come pretty close to what I want for my enumeration ‘theorem’: \setupexternalfigures[location=default

[NTG-context] Vertical space lost (\placefigure[right] before enumeration)

2016-08-15 Thread Mikael P. Sundqvist
Hi! If I put a float in the right before an enumeration, the "before={\blank[line]}" seem to be lost. Please have a look at the example file below (pdf attached), where * Example 1 is set as I want it, * Example 2 is not (I would like to have a blank line before it, and * Example 3 i

[NTG-context] enumeration header spacing control

2016-06-18 Thread Jan Willem Flamma
Dear members, In the MWE below the amount of vertical space between the enumeration header and the text seems to fully controlled by the global \setupwhitespace setting. The inbetween={\blank[nowhite]} setting seems to be ignored. I noticed this change of behaviour some weeks ago for the first

Re: [NTG-context] Bug in enumeration?

2016-04-12 Thread Otared Kavian
Thanks for your attention, and the fix, Hans. Best regards: OK > On 12 Apr 2016, at 10:11, Hans Hagen wrote: > > […] > > swapped arguments in ... (actually that was a fix for something else, a space > in captions) > > \unexpanded\def\strc_enumerations_inject_extra_text >

Re: [NTG-context] Bug in enumeration?

2016-04-12 Thread Hans Hagen
On 4/12/2016 9:42 AM, Otared Kavian wrote: Hi Hans, It seems that the new beta has introduced an issue with enumerations: the title does not show up as it did previously (until last Friday for instance). Below is an example. Best regards %%% bug-enumeartion.tex %%%

[NTG-context] Bug in enumeration?

2016-04-12 Thread Otared Kavian
Hi Hans, It seems that the new beta has introduced an issue with enumerations: the title does not show up as it did previously (until last Friday for instance). Below is an example. Best regards %%% bug-enumeartion.tex %%% \defineframedtext[ProclaimFramed] [width=\textwidth,

Re: [NTG-context] Enumeration lists (was: \definedescription and setupdescription options)

2016-03-06 Thread Alan BRASLAU
On Mon, 7 Mar 2016 04:42:09 +0100 Wolfgang Schuster wrote: > \defineenumeration > [fact] > [list=fact] > > \starttext > > \startfact [title=First fact] > Many commands in \CONTEXT\ are obvious. > \stopfact > > \placelist [enumeration:fact] [criterium=all] > >

Re: [NTG-context] How to put title and counter of the enumeration env. in the FrameTitle?

2015-12-08 Thread Jeong Dal
Dear all, After searching ConTeXt wiki and googling, I got what I want using the attached code. It can be modified in nicer way which I don’t know. There are so many hidden commands in ConTeXt for me. It is absolutely convenient to use the “\defineenumeration” if I don’t use FunnyFrame.

Re: [NTG-context] How to put title and counter of the enumeration env. in the FrameTitle?

2015-12-04 Thread Jeong Dal
Dear all, I found a partial solution for my former question which still have problems. 1. I set a new counter “ThmNumber” and use it in the FrameTitle. Its output is similar to what I want. 2. insert “after={\doglobal\increment\ThmNumber}” in the enumeration environment. 3. But the Initial

[NTG-context] How to put title and counter of the enumeration env. in the FrameTitle?

2015-12-03 Thread Jeong Dal
Hi, I use the FunnyFrame and FrameTitle in the metafun book to display theorems. Thanks ConTeXt and MetaFun, it looks nice! For better output, I try to put “Theorem + number” in the FrameTitle instead of putting in the main text. But I couldn’t make it. I found a similar question and answers by

Re: [NTG-context] enumeration of equations containing \mathcases

2015-02-10 Thread Otared Kavian
time (hoping this is not considered spamming the list ...): question: how can I get properly aligned enumeration of equations that use `\mathcases'. example: 8-- bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla

[NTG-context] enumeration of equations containing \mathcases

2015-02-10 Thread j. van den hoff
hi list, admittedly I've posted this problem two times 6-8 weeks ago already but since I did not get a single response (not even RTFM...) I try it now a third time (hoping this is not considered spamming the list ...): question: how can I get properly aligned enumeration of equations

Re: [NTG-context] enumeration of equations containing \mathcases

2015-02-10 Thread j. van den hoff
but since I did not get a single response (not even RTFM...) I try it now a third time (hoping this is not considered spamming the list ...): question: how can I get properly aligned enumeration of equations that use `\mathcases'. example: 8

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-17 Thread Hans Hagen
://wiki.contextgarden.net/Enumerations: When the selected language is Slovenian or Spanish, items are numbered using their proper alphabets (the Slovenian enumeration includes č, š and ž; the Spanish enumeration includes ñ). You can change to the international enumeration with alphabetic

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-17 Thread Pablo Rodriguez
On 11/17/2014 07:06 PM, Hans Hagen wrote: On 11/15/2014 11:36 AM, Pablo Rodriguez wrote: [...] I’m happy to wikify also title numbering, but first I would like to be sure that I’m not missing anything. first make an example showing this so that we can see what is wrong Hans, here you have

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-15 Thread Pablo Rodriguez
the selected language is Slovenian or Spanish, items are numbered using their proper alphabets (the Slovenian enumeration includes č, š and ž; the Spanish enumeration includes ñ). You can change to the international enumeration with alphabetic, Alphabetic

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-13 Thread Pablo Rodriguez
On 11/12/2014 09:35 PM, Hans Hagen wrote: [...] before we do that ... are we going to use 'numerals' or 'characters' for it ... I just copied some slovenian .. okay, I'll go for numerals in the next upload bookmarks will work also then Many thanks for the fix, Hans. Pablo --

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-13 Thread Hans Hagen
On 11/13/2014 7:39 PM, Pablo Rodriguez wrote: On 11/12/2014 09:35 PM, Hans Hagen wrote: [...] before we do that ... are we going to use 'numerals' or 'characters' for it ... I just copied some slovenian .. okay, I'll go for numerals in the next upload bookmarks will work also then Many

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-12 Thread Pablo Rodriguez
On 11/12/2014 01:38 AM, Hans Hagen wrote: On 11/11/2014 6:40 PM, Pablo Rodriguez wrote: [...] Instead of changing the default letter series, how about adding the ñ (or Ñ) after n and before o (or after N and before O) in a new enumeration series named ñ (and Ñ). in next beta Many thanks

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-12 Thread Hans Hagen
On 11/12/2014 4:23 PM, Pablo Rodriguez wrote: On 11/12/2014 01:38 AM, Hans Hagen wrote: On 11/11/2014 6:40 PM, Pablo Rodriguez wrote: [...] Instead of changing the default letter series, how about adding the ñ (or Ñ) after n and before o (or after N and before O) in a new enumeration series

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-12 Thread Wolfgang Schuster
and before o (or after N and before O) in a new enumeration series named ñ (and Ñ). in next beta Many thanks for your fast implementation, Hans. I’m afraid it is not implemented for bookmarks. \mainlanguage[es] \setupinteraction[state=start] \placebookmarks[section

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-12 Thread Pablo Rodriguez
and before O) in a new enumeration series named ñ (and Ñ). in next beta I’m afraid it is not implemented for bookmarks. you can try spanishnumerals I don’t know whether this is related to what Wolfgang reported, but using latest beta (2014.11.12 18:16) bookmark numbering doesn’t seem

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-12 Thread Pablo Rodriguez
On 11/12/2014 07:00 PM, Pablo Rodriguez wrote: I don’t know whether this is related to what Wolfgang reported, but using latest beta (2014.11.12 18:16) bookmark numbering doesn’t seem to work at all: \setupinteraction[state=start] \definestructureconversionset[sectionnumbers]

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-12 Thread Pablo Rodriguez
On 11/12/2014 06:40 PM, Wolfgang Schuster wrote: Am 12.11.2014 um 18:18 schrieb Hans Hagen: you can try spanishnumerals This won’t work unless you change (are you serious with these names) Many thanks for your reply, Wolfgang. Spanish and spanish seems to work. The same rules for Slovenian

  1   2   3   >